package com.example.demo.domain;

import com.example.demo.vo.RTDataValueNew;

import java.util.Arrays;
import java.util.List;

/**
 * Created by yangge on 2017/7/10 0010.
 * 这个类是为了提供给默认的kdm机取大量数据的默认类
 */
public class DefaultFanState {
    private int fanID;
    private int stationID;
    private int areaID;
    private String areaName;
    private String stationName;
    private int capacity;
    private RTDataValueNew[] stateList;
    private List<Double> otherState;

    public DefaultFanState() {
    }

    public DefaultFanState(DefaultFanState defaultFanState) {
        this.fanID = defaultFanState.fanID;
        this.stationID = defaultFanState.stationID;
        this.areaName = defaultFanState.areaName;
        this.stationName = defaultFanState.stationName;
        this.capacity = defaultFanState.capacity;
        this.stateList = defaultFanState.stateList;
        this.otherState = defaultFanState.otherState;
        this.areaID=defaultFanState.areaID;
    }

    public int getAreaID() {
        return areaID;
    }

    public void setAreaID(int areaID) {
        this.areaID = areaID;
    }

    public int getFanID() {
        return fanID;
    }

    public void setFanID(int fanID) {
        this.fanID = fanID;
    }

    public int getStationID() {
        return stationID;
    }

    public void setStationID(int stationID) {
        this.stationID = stationID;
    }

    public RTDataValueNew[] getStateList() {
        return stateList;
    }

    public void setStateList(RTDataValueNew[] stateList) {
        this.stateList = stateList;
    }

    public List<Double> getOtherState() {
        return otherState;
    }

    public void setOtherState(List<Double> otherState) {
        this.otherState = otherState;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    @Override
    public String toString() {
        return "DefaultFanState{" +
                "fanID=" + fanID +
                ", stationID=" + stationID +
                ", areaName='" + areaName + '\'' +
                ", stationName='" + stationName + '\'' +
                ", capacity=" + capacity +
                ", stateList=" + Arrays.toString(stateList) +
                ", otherState=" + otherState +
                '}';
    }
}
